﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoreGallery.Addins.Contracts;

namespace CoreGallery.Publishing
{
    /// <summary>
    /// Publishes photos to a given Flickr account with supplied tags, collection, etc.
    /// </summary>
    [CoreAddin("Flickr photo publisher", "{FAF19FFC-F66F-4807-A3D3-90D93A403EAF}",
        Description = "Enables photos to be published to Flickr users/sets.")]
    public class FlickrPublisher : IPublishingAddinBase
    {
        #region IPublishingAddinBase Members

        public string Name
        {
            get { return "Flickr photo publisher"; }
        }

        public Guid UniqueKey
        {
            get { return new Guid("{FAF19FFC-F66F-4807-A3D3-90D93A403EAF}"); }
        }

        public string Creator
        {
            get { throw new NotImplementedException(); }
        }

        public string Description
        {
            get { return "Enables photos to be published to Flickr users/sets."; }
        }

        public string AboutText
        {
            get { return "Core addin for Flickr publishing"; }
        }

        public Version Version
        {
            get { return new Version(1, 0); }
        }

        public void OnInit() //TODO: CoreGallery.Core.GalleryExplorer explorer)
        {
        }

        public void OnLoad()
        {
        }

        public void OnUnload()
        {
        }

        public void Export(IList<BasePhoto> photos)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
